package com.ruoyi.develop.orderIronRecord.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.project.domain.Project;
import com.ruoyi.develop.projectBaseInfo.domain.ProjectBaseInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 铁附件订单拆解记录对象 order_iron_record
 *
 * @author lmm
 * @date 2024-10-21
 */
public class OrderIronRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderCode;


    /**
     * 拆分编号
     */
    @Excel(name = "拆分编号")
    private String splitCode;

    /**
     * 送货地址
     */
    @Excel(name = "送货地址")
    private String deliveryAddress;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contacts;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phone;

    /**
     * 交货日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "交货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryDate;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal money;

    /** * 采购付款总金额  */
    private BigDecimal buyMoney;

    /** * 采购付款金额  */
    private BigDecimal buyMoneyTemp;

    /** * 采购剩余金额  */
    private BigDecimal buyRemain;

    /**
     * 总重量
     */
    @Excel(name = "总重量")
    private BigDecimal weight;

    /**
     * 删除标志
     */
    private String delFlag;

    /**
     * 状态
     */
    private String status;

    /**
     * 采购状态
     */
    private String buyStatus;

    /** * 客户收货日期 */
    private Date receiptDate;

    /** * 客户收货回执 */
    private String receiptFile;

    public Date getReceiptDate() {
        return receiptDate;
    }

    public void setReceiptDate(Date receiptDate) {
        this.receiptDate = receiptDate;
    }

    public String getReceiptFile() {
        return receiptFile;
    }

    public void setReceiptFile(String receiptFile) {
        this.receiptFile = receiptFile;
    }

    public String getBuyStatus() {
        return buyStatus;
    }

    public void setBuyStatus(String buyStatus) {
        this.buyStatus = buyStatus;
    }

    public String getSplitCode() {
        return splitCode;
    }

    public void setSplitCode(String splitCode) {
        this.splitCode = splitCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 订单信息
     */
    private ProjectBaseInfo order;

    /**
     * 项目信息
     */
    private Project project;

    /**
     * 是否置顶
     */
    private String isTop;

    /**
     * 发货状态
     */
    private String deliveryStatus;

    /** * 发货备注 */
    private String shippingRemark;


    public String getShippingRemark() {
        return shippingRemark;
    }

    public void setShippingRemark(String shippingRemark) {
        this.shippingRemark = shippingRemark;
    }

    public String getIsTop() {
        return isTop;
    }

    public void setIsTop(String isTop) {
        this.isTop = isTop;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public ProjectBaseInfo getOrder() {
        return order;
    }

    public void setOrder(ProjectBaseInfo order) {
        this.order = order;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContacts() {
        return contacts;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getDeliveryStatus() {
        return deliveryStatus;
    }

    public void setDeliveryStatus(String deliveryStatus) {
        this.deliveryStatus = deliveryStatus;
    }

    public BigDecimal getBuyMoney() {
        return buyMoney;
    }

    public void setBuyMoney(BigDecimal buyMoney) {
        this.buyMoney = buyMoney;
    }

    public BigDecimal getBuyRemain() {
        return buyRemain;
    }

    public BigDecimal getBuyMoneyTemp() {
        return buyMoneyTemp;
    }

    public void setBuyMoneyTemp(BigDecimal buyMoneyTemp) {
        this.buyMoneyTemp = buyMoneyTemp;
    }

    public void setBuyRemain(BigDecimal buyRemain) {
        this.buyRemain = buyRemain;


    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("orderCode", getOrderCode())
                .append("deliveryAddress", getDeliveryAddress())
                .append("contacts", getContacts())
                .append("phone", getPhone())
                .append("deliveryDate", getDeliveryDate())
                .append("weight", getWeight())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
